﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using clf.weighing.entity;

namespace weighing
{


    /// <summary>
    /// 货场地址（ 收发货地址）
    /// </summary>

    public class YardVo : BaseVo
    {
        #region Constract
        public Yard mYard;
        public YardVo(Yard yard)
        {
            mYard = yard;
        }
        #endregion


        #region propertys

        public Int64 Id
        {
            get
            {
                return mYard.id;
            }
            set
            {
                mYard.id = value;
                OnPropertyChanged(this, nameof(Id));
            }
        }

        /// <summary>
        /// 注释:货场地址名称
        /// 可空:YES
        /// </summary>
        public String Name
        {
            get
            {
                return mYard.name;
            }
            set
            {
                mYard.name = value;
                OnPropertyChanged(this, nameof(Name));
            }
        }

        /// <summary>
        /// 注释:首拼
        /// 可空:YES
        /// </summary>

        public String NameFirstCase
        {
            get
            {
                return mYard.nameFirstCase;
            }
            set
            {
                mYard.nameFirstCase = value;
                OnPropertyChanged(this, nameof(NameFirstCase));
            }
        }


        public Int32? IsDelete
        {
            get
            {
                return mYard.isDelete;
            }
            set
            {
                mYard.isDelete = value;
                OnPropertyChanged(this, nameof(IsDelete));
            }
        }


        public DateTime? DeleteTime
        {
            get
            {
                return mYard.deleteTime;
            }
            set
            {
                mYard.deleteTime = value;
                OnPropertyChanged(this, nameof(DeleteTime));
            }
        }

        /// <summary>
        /// 注释:备注
        /// 可空:YES
        /// </summary>

        public String Remark
        {
            get
            {
                return mYard.remark;
            }
            set
            {
                mYard.remark = value;
                OnPropertyChanged(this, nameof(Remark));
            }
        }


        public DateTime? AddTime
        {
            get
            {
                return mYard.addTime;
            }
            set
            {
                mYard.addTime = value;
                OnPropertyChanged(this, nameof(AddTime));
            }
        }


        public Int64? AddUserId
        {
            get
            {
                return mYard.addUserId;
            }
            set
            {
                mYard.addUserId = value;
                OnPropertyChanged(this, nameof(AddUserId));
            }
        }


        public String AddUserName
        {
            get
            {
                return mYard.addUserName;
            }
            set
            {
                mYard.addUserName = value;
                OnPropertyChanged(this, nameof(AddUserName));
            }
        }


        public DateTime? UpdateTime
        {
            get
            {
                return mYard.updateTime;
            }
            set
            {
                mYard.updateTime = value;
                OnPropertyChanged(this, nameof(UpdateTime));
            }
        }


        public Int64? UpdateUserId
        {
            get
            {
                return mYard.updateUserId;
            }
            set
            {
                mYard.updateUserId = value;
                OnPropertyChanged(this, nameof(UpdateUserId));
            }
        }


        public String UpdateUserName
        {
            get
            {
                return mYard.updateUserName;
            }
            set
            {
                mYard.updateUserName = value;
                OnPropertyChanged(this, nameof(UpdateUserName));
            }
        }

        /// <summary>
        /// 注释:所属公司
        /// 可空:YES
        /// 默认值:0
        /// </summary>

        public Int64? CompanyId
        {
            get
            {
                return mYard.companyId;
            }
            set
            {
                mYard.companyId = value;
                OnPropertyChanged(this, nameof(CompanyId));
            }
        }


        public String CompanyName
        {
            get
            {
                return mYard.companyName;
            }
            set
            {
                mYard.companyName = value;
                OnPropertyChanged(this, nameof(CompanyName));
            }
        }

        /// <summary>
        /// 注释:同步时间
        /// 可空:YES
        /// 默认值:0
        /// </summary>

        public Int64? SyncTime
        {
            get
            {
                return mYard.syncTime;
            }
            set
            {
                mYard.syncTime = value;
                OnPropertyChanged(this, nameof(SyncTime));
            }
        }

        #endregion

        #region Text

        #endregion

    }
}


